body {
  height: 100%;
  margin: 0;
}

a {
  text-decoration: none;
  color: #23b8ff;
}

.upload-modal-wrap {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
}

.upload-modal-wrap.show {
  display: block;
}

.upload-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  margin: -150px 0 0 -245px;
  width: 490px;
  height: 300px;
  background-color: #fff;
  border-radius: 5px;
  overflow: hidden;
}

.upload-modal .modal-hd {
  position: relative;
  height: 30px;
  background-color: rgb(3, 154, 227);
}

.upload-modal .modal-hd .fa {
  position: absolute;
  top: 6px;
  right: 10px;
  color: #fff;
}

.upload-modal .upload-ctn {
  position: relative;
  height: 188px;
  margin-top: 14px;
}

.upload-modal .upload-ctn .upload-area {
  position: absolute;
  top: 0;
  left: 50%;
  margin-left: -80px;
  width: 160px;
  height: 120px;
  background-image: url(../img/bg.png);
  background-size: 480px 260px;
  background-repeat: no-repeat;
}

/* 上传按钮图片 */
.upload-modal .upload-ctn .upload-area.btn {
  background-position: 0 0;
}

/* 上传中 图片 */
.upload-modal .upload-ctn .upload-area.uploading {
  background-position: -160px 0;
}

.upload-modal .upload-ctn .upload-area .upload-info {
  position: absolute;
  top: 27px;
  left: 10px;
  z-index: 3;
  width: 140px;
  height: 64px;
  font-weight: bold;
  text-align: center;
  line-height: 64px;
}

.upload-modal .upload-ctn .upload-area.btn .upload-info {
  display: none;
}

.upload-modal .upload-ctn .upload-area.uploading .upload-info {
  display: block;
}

.upload-modal .upload-ctn .upload-area .upload-info .percent {
  color: #039ae3;
  display: inline;
}

.upload-modal .upload-ctn .upload-area .upload-info .upload-success {
  color: #424242;
  font-weight: normal;
  display: none;
}

.upload-modal .upload-ctn .upload-area .upload-info .upload-success .fa {
  color: #71ad3a;
}

.upload-modal
  .upload-ctn
  .upload-area.uploading.finished
  .upload-info
  .percent {
  display: none;
}

.upload-modal
  .upload-ctn
  .upload-area.uploading.finished
  .upload-info
  .upload-success {
  display: inline;
}

.upload-modal .upload-ctn .upload-area .progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: 0;
  height: 100%;
  background-image: url(../img/bg.png);
  background-size: 480px 260px;
  background-repeat: no-repeat;
  background-position: -320px 0;
}

.upload-modal .upload-ctn .upload-area.btn .upload-input {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
}

.upload-modal .upload-ctn .upload-area .upload-input {
  display: none;
}

.upload-modal .upload-ctn .upload-area .upload-input .input-label {
  display: block;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.upload-modal .upload-ctn .upload-area .upload-input input {
  position: absolute;
  top: 0;
  left: 0;
  visibility: hidden;
}
